import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.RequestMapping
import org.springframework.web.bind.annotation.ResponseBody


@RequestMapping("/groovy")
class GroovyTest {

    @ResponseBody
    @GetMapping
    def test() {
        println "Hello from Groovy"
    }
}
